package com.xl.dao.impl;

import com.xl.dao.UserDao;
import org.springframework.beans.factory.InitializingBean;

public class UserDaoImpl implements UserDao, InitializingBean {
    public UserDaoImpl() {
        System.out.println("UserDao实例化");
    }

    public void init() {
        System.out.println("init初始化方法");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("属性设置之后执行");
    }

    @Override
    public void show()  {
        System.out.println("show....");
    }
}
